projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f217af5
)
app chooser: sync sensitivity of search button
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 14 Feb 2014 14:39:49 +0000
(09:39 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 14 Feb 2014 14:39:49 +0000
(09:39 -0500)
The code setting up the button has been move a little later
in the dialog construction, with the effect that the entry
is already insensitive when we set up the binding.
gtk/gtkappchooserdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkappchooserdialog.c
b/gtk/gtkappchooserdialog.c
index d2cd081bd1727ee2f6cfb3628857d623937dfe1b..8074312e6f1518132804b53c878a89466e223d7c 100644
(file)
--- a/
gtk/gtkappchooserdialog.c
+++ b/
gtk/gtkappchooserdialog.c
@@
-493,9
+493,9
@@
setup_search (GtkAppChooserDialog *self)
g_object_bind_property (button, "active",
self->priv->search_bar, "search-mode-enabled",
G_BINDING_BIDIRECTIONAL);
- g_object_bind_property (
button
, "sensitive",
-
self->priv->search_entry
, "sensitive",
- G_BINDING_BIDIRECTIONAL);
+ g_object_bind_property (
self->priv->search_entry
, "sensitive",
+
button
, "sensitive",
+ G_BINDING_BIDIRECTIONAL
| G_BINDING_SYNC_CREATE
);
}
}